package com.changan.mapper;

import com.changan.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author xsy
 * @since 2021-08-26
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /*
    通过用户名查询菜单
     */
     List<Menu> getMenuByUserName(@Param("username") String username);
}
